using UnityEngine;
using System.Collections;

public class PlayerLogic : MonoBehaviour {
	
	private HealthInfo healthInfo;
	public ActorController Actor;
	public Weapon CurrWeapon;

	public HealthInfo Health
	{
		get { return healthInfo; }
	}

	// Use this for initialization
	void Start () {
		if (Actor != null)
		{
			healthInfo = Actor.GetComponent<HealthInfo> ();
			transform.parent = Actor.transform;
			transform.localPosition = Vector3.zero;
		}
	}
	
	// Update is called once per frame
	void Update () {
	}
}
